package com.project.aaos.config;


import com.project.aaos.generator.LineHandler;
import com.project.aaos.pojo.RequestInfo;

import java.util.Arrays;

public class Config {

    private String bank;
    private String sourDir;
    private String fileNameFilter;
    private String backDir;
    private String descDir;
    private String errorDir;
    private String fieldsDir;
    private String taskConfig;
    private String indbInterval;
    private Integer taskInterval;
    private Integer backUpOverDue;
    private Integer cleanInterval;
    private Integer dbOverDue;
    private String cleanTime;
    private String sourCode;
    private String descCode;
    private String dbName;
    private String aaisRemoteCall;
    private String endLineEmpty;
    private String produceAcrsReport;
    private String AcrsReportTime;
    private String acrsRemoteCall;
    private String[] approFileds;
    private String[] aaisFileds;
    //是否处理空文件,true处理,false不处理
    private String emptyFileHandle;
    //是否跳过审批必输字段
    private String passApprovalFields;
    //是否跳过网申必输字段
    private String passAaisFields;
    //是否跳过超过定长字段
    private String passOverLenthFields;

    private RequestInfo requestInfo;
    private String lineSeparator;
    private LineHandler lineHandler;
    private String wholeToHalf;

    @Override
    public String toString() {
        return "Config{" +
                "bank='" + bank + '\'' +
                ", sourDir='" + sourDir + '\'' +
                ", fileNameFilter='" + fileNameFilter + '\'' +
                ", backDir='" + backDir + '\'' +
                ", descDir='" + descDir + '\'' +
                ", errorDir='" + errorDir + '\'' +
                ", fieldsDir='" + fieldsDir + '\'' +
                ", taskConfig='" + taskConfig + '\'' +
                ", indbInterval=" + indbInterval +
                ", taskInterval=" + taskInterval +
                ", backUpOverDue=" + backUpOverDue +
                ", cleanInterval=" + cleanInterval +
                ", dbOverDue=" + dbOverDue +
                ", cleanTime='" + cleanTime + '\'' +
                ", sourCode='" + sourCode + '\'' +
                ", descCode='" + descCode + '\'' +
                ", dbName='" + dbName + '\'' +
                ", aaisRemoteCall='" + aaisRemoteCall + '\'' +
                ", endLineEmpty='" + endLineEmpty + '\'' +
                ", produceAcrsReport='" + produceAcrsReport + '\'' +
                ", AcrsReportTime='" + AcrsReportTime + '\'' +
                ", acrsRemoteCall='" + acrsRemoteCall + '\'' +
                ", approFileds=" + Arrays.toString(approFileds) +
                ", aaisFileds=" + Arrays.toString(aaisFileds) +
                ", emptyFileHandle='" + emptyFileHandle + '\'' +
                ", passApprovalFields='" + passApprovalFields + '\'' +
                ", passAaisFields='" + passAaisFields + '\'' +
                ", passOverLenthFields='" + passOverLenthFields + '\'' +
                ", requestInfo=" + requestInfo +
                ", lineSeparator='" + lineSeparator + '\'' +
                ", lineHandler=" + lineHandler +
                ", wholeToHalf='" + wholeToHalf + '\'' +
                '}';
    }

    public RequestInfo getRequestInfo() {
        return requestInfo;
    }

    public void setRequestInfo(RequestInfo requestInfo) {
        this.requestInfo = requestInfo;
    }

    public Integer getCleanInterval() {
        return cleanInterval;
    }

    public void setCleanInterval(Integer cleanInterval) {
        this.cleanInterval = cleanInterval;
    }

    public String getCleanTime() {
        return cleanTime;
    }

    public void setCleanTime(String cleanTime) {
        this.cleanTime = cleanTime;
    }

    public Integer getBackUpOverDue() {
        return backUpOverDue;
    }

    public void setBackUpOverDue(Integer backUpOverDue) {
        this.backUpOverDue = backUpOverDue;
    }

    public Integer getDbOverDue() {
        return dbOverDue;
    }

    public void setDbOverDue(Integer dbOverDue) {
        this.dbOverDue = dbOverDue;
    }

    public String getBank() {
        return bank;
    }

    public void setBank(String bank) {
        this.bank = bank;
    }

    public String getSourDir() {
        return sourDir;
    }

    public void setSourDir(String sourDir) {
        this.sourDir = sourDir;
    }

    public String getBackDir() {
        return backDir;
    }

    public void setBackDir(String backDir) {
        this.backDir = backDir;
    }

    public String getDescDir() {
        return descDir;
    }

    public void setDescDir(String descDir) {
        this.descDir = descDir;
    }

    public String getTaskConfig() {
        return taskConfig;
    }

    public void setTaskConfig(String taskConfig) {
        this.taskConfig = taskConfig;
    }

    public String getIndbInterval() {
        return indbInterval;
    }

    public void setIndbInterval(String indbInterval) {
        this.indbInterval = indbInterval;
    }



    public Integer getTaskInterval() {
        return taskInterval;
    }

    public void setTaskInterval(Integer taskInterval) {
        this.taskInterval = taskInterval;
    }

    public String getFileNameFilter() {
        return fileNameFilter;
    }

    public void setFileNameFilter(String fileNameFilter) {
        this.fileNameFilter = fileNameFilter;
    }

    public String getSourCode() {
        return sourCode;
    }

    public void setSourCode(String sourCode) {
        this.sourCode = sourCode;
    }

    public String getDescCode() {
        return descCode;
    }

    public void setDescCode(String descCode) {
        this.descCode = descCode;
    }


    public String getLineSeparator() {
        return lineSeparator;
    }

    public void setLineSeparator(String lineSeparator) {
        this.lineSeparator = lineSeparator;
    }

    public LineHandler getLineHandler() {
        return lineHandler;
    }

    public void setLineHandler(LineHandler lineHandler) {
        this.lineHandler = lineHandler;
    }


    public String getDbName() {
        return dbName;
    }

    public void setDbName(String dbName) {
        this.dbName = dbName;
    }

    public String getAaisRemoteCall() {
        return aaisRemoteCall;
    }

    public void setAaisRemoteCall(String aaisRemoteCall) {
        this.aaisRemoteCall = aaisRemoteCall;
    }

    public String[] getApproFileds() {
        return approFileds;
    }

    public void setApproFileds(String[] approFileds) {
        this.approFileds = approFileds;
    }

    public String[] getAaisFileds() {
        return aaisFileds;
    }

    public void setAaisFileds(String[] aaisFileds) {
        this.aaisFileds = aaisFileds;
    }

    public String getEndLineEmpty() {
        return endLineEmpty;
    }

    public void setEndLineEmpty(String endLineEmpty) {
        this.endLineEmpty = endLineEmpty;
    }

    public String getAcrsRemoteCall() {
        return acrsRemoteCall;
    }

    public void setAcrsRemoteCall(String acrsRemoteCall) {
        this.acrsRemoteCall = acrsRemoteCall;
    }

    public String getFieldsDir() {
        return fieldsDir;
    }

    public void setFieldsDir(String fieldsDir) {
        this.fieldsDir = fieldsDir;
    }

    public String getProduceAcrsReport() {
        return produceAcrsReport;
    }

    public void setProduceAcrsReport(String produceAcrsReport) {
        this.produceAcrsReport = produceAcrsReport;
    }

    public String getAcrsReportTime() {
        return AcrsReportTime;
    }

    public void setAcrsReportTime(String acrsReportTime) {
        AcrsReportTime = acrsReportTime;
    }

    public String getEmptyFileHandle() {
        return emptyFileHandle;
    }

    public void setEmptyFileHandle(String emptyFileHandle) {
        this.emptyFileHandle = emptyFileHandle;
    }

    public String getErrorDir() {
        return errorDir;
    }

    public void setErrorDir(String errorDir) {
        this.errorDir = errorDir;
    }

    public String getPassApprovalFields() {
        return passApprovalFields;
    }

    public void setPassApprovalFields(String passApprovalFields) {
        this.passApprovalFields = passApprovalFields;
    }

    public String getPassAaisFields() {
        return passAaisFields;
    }

    public void setPassAaisFields(String passAaisFields) {
        this.passAaisFields = passAaisFields;
    }

    public String getPassOverLenthFields() {
        return passOverLenthFields;
    }

    public void setPassOverLenthFields(String passOverLenthFields) {
        this.passOverLenthFields = passOverLenthFields;
    }

    public String getWholeToHalf() {
        return wholeToHalf;
    }

    public void setWholeToHalf(String wholeToHalf) {
        this.wholeToHalf = wholeToHalf;
    }
}
